From: Matthias Clasen Date: Thu, 14 Jul 2022 23:51:26 +0000 (-0400) Subject: maplistmodel: Fix an oversight X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~81^2^2~63 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7743f359720686b1183172a073fa210ba23faf15;p=gtk4.git maplistmodel: Fix an oversight This was meant to go into 678eb8ab76bd. --- diff --git a/gtk/gtkmaplistmodel.c b/gtk/gtkmaplistmodel.c index e1cb0b1553..de4cd27dbe 100644 --- a/gtk/gtkmaplistmodel.c +++ b/gtk/gtkmaplistmodel.c @@ -249,7 +249,7 @@ gtk_map_list_model_items_changed_cb (GListModel *model, if (end >= position + count) { node->n_items -= count; - removed = 0; + count = 0; gtk_rb_tree_node_mark_dirty (node); } else if (start < position)